package com.avcompris.util;


/**
 * wrapper for Java objects that represent a YAML structure.
 */
public interface Yamled {

	/**
	 * @param propertyName
	 */
	Yamled get(String propertyName);

	String label();

	boolean isString();

	String asString();

	/**
	 * @param index
	 */
	Yamled item(int index);

	/**
	 * @param propertyName
	 */
	Yamled[] items(String propertyName);

	Yamled[] items();

	/**
	 * @param index
	 */
	String string(int index);

	String[] strings();
}
